import request from "../../utils/request.js"

//获取在线摄像头数量
export const getOnlineNum = (data) => {
	return request({
		url: "/app/getOnlineNum",
		method: 'post',
		data
	})
}

//获取当日当月完工数量
export const getCompletedNum = (data) => {
	return request({
		url: "/app/getCompletedNum",
		method: 'post',
		data
	})
}

//获取巡检仪在线数量
export const getXjyOnlineNum = (data) => {
	return request({
		url: "/app/getXjyOnlineNum",
		method: 'post',
		data
	})
}

//获取今日监理数量
export const getXjyCompletedNum = (data) => {
	return request({
		url: "/app/getXjyCompletedNum",
		method: 'post',
		data
	})
}

//登录页获取验证码
export const getNumberCode = (data) => {
	return request({
		url: "/sms/logDXMessage/logDXMessage",
		method: 'post',
		data
	})
}